package learn.basics.math;

class DemoMath{
    public static void Test(){
        System.out.println(Math.abs(-2.3));
        System.out.println(Math.abs(0));
        System.out.println(Math.abs(2.3));
        System.out.println("====================");

        System.out.println(Math.ceil(3.9));
        System.out.println(Math.ceil(3.1));
        System.out.println(Math.ceil(3.0));
        System.out.println("====================");


        System.out.println(Math.floor(30.1));
        System.out.println(Math.floor(30.6));
        System.out.println(Math.floor(30.0));
        System.out.println("================");
        System.out.println(Math.round(20.4));
        System.out.println(Math.round(20.6));



    }
}



public class TestMath {
    public static void main(String[] args) {
        DemoMath.Test();
    }


}
